//
//  ShareClientUserInfo.h
//  ShareCenter
//
//  Created by yutao on 14-2-19.
//  Copyright (c) 2014年 yutao. All rights reserved.
//

/*
 http://www.ttktu.com/get_content/?type=video&page=1
 
 image 自动没有值
 
 http://www.ttktu.com/doc/get_content/?type=get_comment
 
 貌似设计有些不合理【在好好考虑一下吧】
 
 
 所有接口中“id” 字段修改一个合适的名字
 
 分页方式不用page + 1  最好使用 传递一个id  获取id 以后的20条数据  作为下一页
 
 */

#import <Foundation/Foundation.h>

#define kShareClientUserInfo_screenName      @"kShareClientUserInfo_screenName"
#define kShareClientUserInfo_iconURL         @"kShareClientUserInfo_iconURL"
#define kShareClientUserInfo_userDescription @"kShareClientUserInfo_userDescription"
#define kShareClientUserInfo_uid             @"kShareClientUserInfo_uid"
#define kShareClientUserInfo_serviceType     @"kShareClientUserInfo_serviceType"

@interface ShareClientUserInfo : NSObject
@property (nonatomic, copy) NSString	*uid;
@property (nonatomic, copy) NSString	*screenName;
@property (nonatomic, copy) NSString	*iconURL;
@property (nonatomic, copy) NSString	*userDescription;
@property (nonatomic, copy) NSString	*serviceType;

+ (id)defaultShareClientUser;
- (ShareClientUserInfo *)userInfoWithServiceType:(NSString *)type;
- (NSString *)userInfoValueForKey:(NSString *)key serviceType:(NSString *)type;
- (BOOL)saveUserInfo:(ShareClientUserInfo *)userInfo serviceType:(NSString *)type;
- (BOOL)deleteUserInfo:(ShareClientUserInfo *)userInfo serviceType:(NSString *)type;
- (BOOL)hasUserInfoWithServiceType:(NSString *)type;

@end

@interface ShareClientUserInfoSina : ShareClientUserInfo

@end

@interface ShareClientUserInfoQQ : ShareClientUserInfo

@end
